<h1>Nette\Config\Config & ConfigAdapterIni test #2</h1>

<pre>
Load INI
object(Config) (4) {
  "common" => object(Config) (2) {
    "variable" => object(Config) (3) {
      "tempDir" => string(14) "%appDir%/cache"
      "foo" => string(11) "%bar% world"
      "bar" => string(5) "hello"
    }
    "set" => object(Config) (4) {
      "date.timezone" => string(13) "Europe/Prague"
      "iconv.internal_encoding" => string(10) "%encoding%"
      "mbstring.internal_encoding" => string(10) "%encoding%"
      "include_path" => string(32) "%appDir%/../_trunk;%appDir%/libs"
    }
  }
  "production" => object(Config) (5) {
    "service" => object(Config) (3) {
      "Nette-Application-IRouter" => string(29) "Nette\Application\MultiRouter"
      "User" => string(19) "Nette\Security\User"
      "Nette-Autoloader" => string(16) "Nette\AutoLoader"
    }
    "webhost" => string(15) "www.example.com"
    "database" => object(Config) (2) {
      "params" => object(Config) (4) {
        "host" => string(14) "db.example.com"
        "username" => string(6) "dbuser"
        "password" => string(6) "secret"
        "dbname" => string(6) "dbname"
      }
      "adapter" => string(9) "pdo_mysql"
    }
    "variable" => object(Config) (3) {
      "tempDir" => string(14) "%appDir%/cache"
      "foo" => string(11) "%bar% world"
      "bar" => string(5) "hello"
    }
    "set" => object(Config) (4) {
      "date.timezone" => string(13) "Europe/Prague"
      "iconv.internal_encoding" => string(10) "%encoding%"
      "mbstring.internal_encoding" => string(10) "%encoding%"
      "include_path" => string(32) "%appDir%/../_trunk;%appDir%/libs"
    }
  }
  "development" => object(Config) (6) {
    "database" => object(Config) (2) {
      "params" => object(Config) (4) {
        "host" => string(15) "dev.example.com"
        "username" => string(7) "devuser"
        "password" => string(9) "devsecret"
        "dbname" => string(6) "dbname"
      }
      "adapter" => string(9) "pdo_mysql"
    }
    "service" => object(Config) (3) {
      "Nette-Application-IRouter" => string(29) "Nette\Application\MultiRouter"
      "User" => string(19) "Nette\Security\User"
      "Nette-Autoloader" => string(16) "Nette\AutoLoader"
    }
    "webhost" => string(15) "www.example.com"
    "variable" => object(Config) (3) {
      "tempDir" => string(14) "%appDir%/cache"
      "foo" => string(11) "%bar% world"
      "bar" => string(5) "hello"
    }
    "set" => object(Config) (4) {
      "date.timezone" => string(13) "Europe/Prague"
      "iconv.internal_encoding" => string(10) "%encoding%"
      "mbstring.internal_encoding" => string(10) "%encoding%"
      "include_path" => string(32) "%appDir%/../_trunk;%appDir%/libs"
    }
    "test" => object(Config) (3) {
      "host" => string(9) "localhost"
      "params" => object(Config) (4) {
        "host" => string(15) "dev.example.com"
        "username" => string(7) "devuser"
        "password" => string(9) "devsecret"
        "dbname" => string(6) "dbname"
      }
      "adapter" => string(9) "pdo_mysql"
    }
  }
  "extra" => object(Config) (1) {
    "set" => object(Config) (4) {
      "date.timezone" => string(12) "Europe/Paris"
      "iconv.internal_encoding" => string(10) "%encoding%"
      "mbstring.internal_encoding" => string(10) "%encoding%"
      "include_path" => string(32) "%appDir%/../_trunk;%appDir%/libs"
    }
  }
}

Save INI
; generated by Nette

[common]
variable.tempDir = "%appDir%/cache"
variable.foo = "%bar% world"
variable.bar = "hello"
set.date.timezone = "Europe/Prague"
set.iconv.internal_encoding = "%encoding%"
set.mbstring.internal_encoding = "%encoding%"
set.include_path = "%appDir%/../_trunk;%appDir%/libs"

[production]
service.Nette-Application-IRouter = "Nette\Application\MultiRouter"
service.User = "Nette\Security\User"
service.Nette-Autoloader = "Nette\AutoLoader"
webhost = "www.example.com"
database.params.host = "db.example.com"
database.params.username = "dbuser"
database.params.password = "secret"
database.params.dbname = "dbname"
database.adapter = "pdo_mysql"
variable.tempDir = "%appDir%/cache"
variable.foo = "%bar% world"
variable.bar = "hello"
set.date.timezone = "Europe/Prague"
set.iconv.internal_encoding = "%encoding%"
set.mbstring.internal_encoding = "%encoding%"
set.include_path = "%appDir%/../_trunk;%appDir%/libs"

[development]
database.params.host = "dev.example.com"
database.params.username = "devuser"
database.params.password = "devsecret"
database.params.dbname = "dbname"
database.adapter = "pdo_mysql"
service.Nette-Application-IRouter = "Nette\Application\MultiRouter"
service.User = "Nette\Security\User"
service.Nette-Autoloader = "Nette\AutoLoader"
webhost = "www.example.com"
variable.tempDir = "%appDir%/cache"
variable.foo = "%bar% world"
variable.bar = "hello"
set.date.timezone = "Europe/Prague"
set.iconv.internal_encoding = "%encoding%"
set.mbstring.internal_encoding = "%encoding%"
set.include_path = "%appDir%/../_trunk;%appDir%/libs"
test.host = "localhost"
test.params.host = "dev.example.com"
test.params.username = "devuser"
test.params.password = "devsecret"
test.params.dbname = "dbname"
test.adapter = "pdo_mysql"

[extra]
set.date.timezone = "Europe/Paris"
set.iconv.internal_encoding = "%encoding%"
set.mbstring.internal_encoding = "%encoding%"
set.include_path = "%appDir%/../_trunk;%appDir%/libs"

Save section to INI
; generated by Nette

[mysection]
common.variable.tempDir = "%appDir%/cache"
common.variable.foo = "%bar% world"
common.variable.bar = "hello"
common.set.date.timezone = "Europe/Prague"
common.set.iconv.internal_encoding = "%encoding%"
common.set.mbstring.internal_encoding = "%encoding%"
common.set.include_path = "%appDir%/../_trunk;%appDir%/libs"
production.service.Nette-Application-IRouter = "Nette\Application\MultiRouter"
production.service.User = "Nette\Security\User"
production.service.Nette-Autoloader = "Nette\AutoLoader"
production.webhost = "www.example.com"
production.database.params.host = "db.example.com"
production.database.params.username = "dbuser"
production.database.params.password = "secret"
production.database.params.dbname = "dbname"
production.database.adapter = "pdo_mysql"
production.variable.tempDir = "%appDir%/cache"
production.variable.foo = "%bar% world"
production.variable.bar = "hello"
production.set.date.timezone = "Europe/Prague"
production.set.iconv.internal_encoding = "%encoding%"
production.set.mbstring.internal_encoding = "%encoding%"
production.set.include_path = "%appDir%/../_trunk;%appDir%/libs"
development.database.params.host = "dev.example.com"
development.database.params.username = "devuser"
development.database.params.password = "devsecret"
development.database.params.dbname = "dbname"
development.database.adapter = "pdo_mysql"
development.service.Nette-Application-IRouter = "Nette\Application\MultiRouter"
development.service.User = "Nette\Security\User"
development.service.Nette-Autoloader = "Nette\AutoLoader"
development.webhost = "www.example.com"
development.variable.tempDir = "%appDir%/cache"
development.variable.foo = "%bar% world"
development.variable.bar = "hello"
development.set.date.timezone = "Europe/Prague"
development.set.iconv.internal_encoding = "%encoding%"
development.set.mbstring.internal_encoding = "%encoding%"
development.set.include_path = "%appDir%/../_trunk;%appDir%/libs"
development.test.host = "localhost"
development.test.params.host = "dev.example.com"
development.test.params.username = "devuser"
development.test.params.password = "devsecret"
development.test.params.dbname = "dbname"
development.test.adapter = "pdo_mysql"
extra.set.date.timezone = "Europe/Paris"
extra.set.iconv.internal_encoding = "%encoding%"
extra.set.mbstring.internal_encoding = "%encoding%"
extra.set.include_path = "%appDir%/../_trunk;%appDir%/libs"

Load section from INI
object(Config) (6) {
  "database" => object(Config) (2) {
    "params" => object(Config) (4) {
      "host" => string(15) "dev.example.com"
      "username" => string(7) "devuser"
      "password" => string(9) "devsecret"
      "dbname" => string(6) "dbname"
    }
    "adapter" => string(9) "pdo_mysql"
  }
  "service" => object(Config) (3) {
    "Nette-Application-IRouter" => string(29) "Nette\Application\MultiRouter"
    "User" => string(19) "Nette\Security\User"
    "Nette-Autoloader" => string(16) "Nette\AutoLoader"
  }
  "webhost" => string(15) "www.example.com"
  "variable" => object(Config) (3) {
    "tempDir" => string(14) "%appDir%/cache"
    "foo" => string(11) "%bar% world"
    "bar" => string(5) "hello"
  }
  "set" => object(Config) (4) {
    "date.timezone" => string(13) "Europe/Prague"
    "iconv.internal_encoding" => string(10) "%encoding%"
    "mbstring.internal_encoding" => string(10) "%encoding%"
    "include_path" => string(32) "%appDir%/../_trunk;%appDir%/libs"
  }
  "test" => object(Config) (3) {
    "host" => string(9) "localhost"
    "params" => object(Config) (4) {
      "host" => string(15) "dev.example.com"
      "username" => string(7) "devuser"
      "password" => string(9) "devsecret"
      "dbname" => string(6) "dbname"
    }
    "adapter" => string(9) "pdo_mysql"
  }
}

Save INI
; generated by Nette

[mysection]
database.params.host = "dev.example.com"
database.params.username = "devuser"
database.params.password = "devsecret"
database.params.dbname = "dbname"
database.adapter = "pdo_mysql"
service.Nette-Application-IRouter = "Nette\Application\MultiRouter"
service.User = "Nette\Security\User"
service.Nette-Autoloader = "Nette\AutoLoader"
webhost = "www.example.com"
variable.tempDir = "%appDir%/cache"
variable.foo = "%bar% world"
variable.bar = "hello"
set.date.timezone = "Europe/Prague"
set.iconv.internal_encoding = "%encoding%"
set.mbstring.internal_encoding = "%encoding%"
set.include_path = "%appDir%/../_trunk;%appDir%/libs"
test.host = "localhost"
test.params.host = "dev.example.com"
test.params.username = "devuser"
test.params.password = "devsecret"
test.params.dbname = "dbname"
test.adapter = "pdo_mysql"
display_errors = true
html_errors = false

